package dao;

import pojo.GuaHao;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface GuaHaoDao {
    List<GuaHao> selectDoctorsByDepartmentId(@Param("departmentId") Integer departmentId);
    GuaHao selectDoctorDetailByDocId(@Param("docId") String docId);
    GuaHao selectAvailableSlotsByDocIdAndScheduleId(@Param("docId") String docId, @Param("scheduleId") String scheduleId);
    List<GuaHao> selectDoctorsWithAvailableSlotsByDepartmentAndDate(@Param("departmentId") Integer departmentId, @Param("queryDate") String queryDate);
    GuaHao selectRegistrationConfirmation(@Param("docId") String docId, @Param("scheduleId") String scheduleId);
    int insertPatientDoctor(GuaHao guaHao);
    int deletePatientDoctorById(Integer id);
    List<GuaHao> selectAppointmentsByUserId(@Param("userId") Integer userId);
}
